package net.zjitc.service;

import net.zjitc.entity.Attribute;

import java.util.List;

public interface AttributeService {
    List<Attribute> select(Integer id,String sel);
    Attribute selectByAttrId(Integer id,Integer attrid,String attr_sel, String attr_vals);
    void delete(Integer id,Integer attrid);
    Attribute update(Integer id, Integer attrid, Attribute attribute);

    Attribute addAttr(Integer id, String attr_name, String attr_sel);
}
